﻿using Newtonsoft.Json;
using Newtonsoft.Json.Linq;

namespace VisionCloud.Domain.DtoModel.Inner
{
    public class WorkOrderFreebackDto
    {
        /// <summary>
        /// 排程工单Id
        /// </summary>
        [JsonProperty("taskId")]
        public string TaskId { get; set; }

        /// <summary>
        /// 测量结果
        /// </summary>
        [JsonProperty("data")]
        public JToken Data { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [JsonProperty("remark")]
        public string Remark { get; set; }

        /// <summary>
        /// 测量机器人
        /// </summary>
        [JsonProperty("robotCode")]
        public string RobotCode { get; set; }

        /// <summary>
        /// 开始时间 yyyy-MM-dd HH:mm:ss
        /// </summary>
        [JsonProperty("startTime")]
        public string StartTime { get; set; }

        /// <summary>
        /// 结束时间 yyyy-MM-dd HH:mm:ss
        /// </summary>
        [JsonProperty("endTime")]
        public string EndTime { get; set; }

        /// <summary>
        /// 工单状态
        /// </summary>
        [JsonProperty("status")]
        public int Status { set; get; }
    }
}
